-- GENERATED SPELL FOR [Shoveltusk] --


function spell0_23690(pUnit, Event) --@Head Butt,n/a--
pUnit:FullCastSpellOnTarget(42320,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23690', 3255, 1)
end

function Sorts_23690(pUnit, Event)
local choix_sorts_23690 = math.random(0, 0)
if choix_sorts_23690 == 0 then
pUnit:RegisterEvent('spell0_23690', 1, 1)
end
end

function mob23690_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23690', math.random(1500, 3000), 1)
end

function mob23690_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23690_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23690_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23690, 1, 'mob23690_Action')
RegisterUnitEvent(23690, 2, 'mob23690_Leave')
RegisterUnitEvent(23690, 3, 'mob23690_Kill')
RegisterUnitEvent(23690, 4, 'mob23690_Die')
